package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 充值卡对象 tb_refill_card
 *
 * @author yajun_ren
 * @date 2021-07-27
 */
public class RefillCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值卡id */
    private String cardId;

    /** 充值卡号 */
    @Excel(name = "充值卡号")
    private String refillNumber;

    /** 计算单价 */
    @Excel(name = "计算单价")
    private BigDecimal countPrice;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    /** 充值卡类型 */
    @Excel(name = "充值卡类型")
    private String refillId;

    /** 对应房间 */
    @Excel(name = "对应房间")
    private String roomId;

    /** 对应仪表号 */
    @Excel(name = "对应仪表号")
    private String meterMark;

    //物业
    private String deptName;

    //充值卡类型
    private String refillName;

    private String roomName;

    private String floorName;

    private String unitName;

    /** 祖级ID */
    private String ancestors;

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRefillName() {
        return refillName;
    }

    public void setRefillName(String refillName) {
        this.refillName = refillName;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setCardId(String cardId)
    {
        this.cardId = cardId;
    }

    public String getCardId()
    {
        return cardId;
    }
    public void setRefillNumber(String refillNumber)
    {
        this.refillNumber = refillNumber;
    }

    public String getRefillNumber()
    {
        return refillNumber;
    }
    public void setCountPrice(BigDecimal countPrice)
    {
        this.countPrice = countPrice;
    }

    public BigDecimal getCountPrice()
    {
        return countPrice;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setRefillId(String refillId)
    {
        this.refillId = refillId;
    }

    public String getRefillId()
    {
        return refillId;
    }
    public void setRoomId(String roomId)
    {
        this.roomId = roomId;
    }

    public String getRoomId()
    {
        return roomId;
    }
    public void setMeterMark(String meterMark)
    {
        this.meterMark = meterMark;
    }

    public String getMeterMark()
    {
        return meterMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("refillNumber", getRefillNumber())
            .append("countPrice", getCountPrice())
            .append("deptId", getDeptId())
            .append("refillId", getRefillId())
            .append("roomId", getRoomId())
            .append("meterMark", getMeterMark())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
